package com.wsm.common.service;

import com.wsm.common.domain.ModelDO;

import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 系统模板
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-20 10:21:26
 * @description : 系统模板
 */
public interface ModelService extends IService<ModelDO> {
	
	List<ModelDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);

	int removeOrDel(Long id);

	int batchRemoveOrDel(Long[] ids);

	int addOrDel(Long id);

	int batchAddOrDel(Long[] ids);

	int removeUseFlag(Long id);

	int addUseFlag(Long id);
}
